<script type="text/javascript">
	$(function() {
	    $.fn.dataGridOptions.formSubFun("#form",'/modules/additional/drawLottery/drawLotteryAdd.html',"添加成功！","添加失败！");
	});
</script>
<style>
.hide{display:none;}
.sForm .ipt{margin-left:155px;}
.sForm .ipt1{margin-bottom:20px;margin-left:155px;}
.sForm .lab{width:139px;}
</style>
<div class="popForm sForm">
    <form id="form"  method="post">
    	<div class="formitm">
		     <label class="lab">抽奖规则名称：</label>
		     <div class="ipt">
		     	<input type="text" name="name" class="w200 easyui-validatebox" data-options="required: true" value="" maxlength="10"/>
		     	<b>*</b>
		     </div>
		</div>
		<div class="formitm">
		     <label class="lab">是否启用：</label>
		     <div class="ipt">
		     	<input type="radio" id="status" class="xj-hongbao" value="0" name="status" checked="checked">启用
		     	<input type="radio" id="status" class="xn-hongbao" value="1" name="status">不启用
		     </div>
		</div>
		<div class="formitm">
			<label class="lab">赠送抽奖次数：</label>
			<div class="ipt">
				<input type="text" name="count" class="w200 easyui-validatebox" date-options="required: true" value="" maxlength="3">
				<b>*</b>
			</div>
		</div>
		<div class="formitm">
			<label class="lab">连续动作方可赠送：</label>
			<div class="ipt">
				<input type="text" name="continueCount" class="w200 easyui-validatebox" date-options="required: true" value="" maxlength="5">
				<b>*</b><span>　如：连续"签到"十天触发这个赠送规则。设置为1表示每次"签到"就会赠送</span>
			</div>
		</div>
		<div class="formitm">
			<label class="lab">用户抽奖有效期：</label>
			<div class="ipt">
				<input type="text" name="validDay" id="day" class="w200 easyui-validatebox" data-options="required: true"  maxlength="10" value=""/>天
				<b>*</b>
			</div>
		</div>
		<div class="formitm">
			 <label class="lab">抽奖规则描述：</label>
			 <div class="ipt">
				<textarea rows="3" maxlength="250" cols="50" name="description"></textarea>
			 </div>
		</div>
	</form>
</div>
